package com.fyx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fyx.annotation.Query;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ChannelIdData implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private List<Timestamp> qTime;

    @TableField(exist = false)
    private Long deptId;

    @Query(propName = "id", type = Query.Type.IN, joinName = "dept")
    @TableField(exist = false)
    private Set<Long> deptIds = new HashSet<>();

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String channelId;

    private String channel;

    private Integer time;

    private Long regNum;

    private Long activeNum;

    private Long rechargeNum;

    private Long rechargePerson;

//    private Long rechargeDayNum;
//
//    private Long rechargeDayPerson;

    private Long stayNum;

    private Long stayNum1;

    private Long stayNum2;

    private Long stayNum3;

    private Long stayNum4;

    private Long stayNum5;

    private Long stayNum6;

    private Long stayNum7;

    private Long stayNum14;

    private Long stayNum30;

}
